#include "stdafx.h"
#include "../Engine/Building.hpp"

namespace he
{
	Building::Building(TerrainTile const &Tile, WallPtrVector_t &&Walls, std::uint_least8_t Material)
		: m_Origin(Tile),
		m_Walls(std::move(Walls)),
		m_Material(Material)
	{
	}

	WallPtrVector_t const &Building::walls() const
	{
		return m_Walls;
	}

	TerrainTile const &Building::origin() const
	{
		return m_Origin;
	}

	std::uint_least8_t Building::material() const
	{
		return m_Material;
	}
} /*he*/
